﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.ModelForJD
{
    /// <summary>
    /// 查询分类列表
    /// </summary>
    public class GoodsCategorysForJD
    {
        /// <summary>
        /// 返回标识
        /// </summary>
        public bool success { get; set; }
        /// <summary>
        /// 返回描述
        /// </summary>
        public string resultMessage { get; set; }
        /// <summary>
        /// 返回编码
        /// </summary>
        public string resultCode { get; set; }
        /// <summary>
        /// 查询分类列信息表实体
        /// </summary>
        public GoodsCategorysInfoForJD result { get; set; }
    }
    /// <summary>
    /// 查询分类列表信息
    /// </summary>
    public class GoodsCategorysInfoForJD
    {
        /// <summary>
        /// 条目总数
        /// </summary>
        public int totalRows { get; set; }
        /// <summary>
        /// 当前页号
        /// </summary>
        public int pageNo { get; set; }
        /// <summary>
        /// 页大小
        /// </summary>
        public int pageSize { get; set; }
        /// <summary>
        /// 商品分类列表详情集合
        /// </summary>
        public List<GoodsCategorysDetailsForJD> categorys { get; set; }
    }
    /// <summary>
    /// 商品分类列表详情
    /// </summary>
    public class GoodsCategorysDetailsForJD
    {
        /// <summary>
        /// 
        /// </summary>
        public int catClass { get; set; }
        /// <summary>
        /// 分类ID
        /// </summary>
        public int catId { get; set; }
        /// <summary>
        /// 分类名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 父级分类ID
        /// </summary>
        public int parentId { get; set; }
        /// <summary>
        /// 分类状态
        /// </summary>
        public int state { get; set; }
    }
}
